Integrand size = 18, antiderivative size = 81 \[ \int \frac {x^8}{a+b x^3+c x^6} \, dx=\frac {x^3}{3 c}-\frac {\left (b^2-2 a c\right ) \text {arctanh}\left (\frac {b+2 c x^3}{\sqrt {b^2-4 a c}}\right )}{3 c^2 \sqrt {b^2-4 a c}}-\frac {b \log \left (a+b x^3+c x^6\right )}{6 c^2} \]
[Out]
Time = 0.06 (sec) , antiderivative size = 81, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {1371, 717, 648, 632, 212, 642} \[ \int \frac {x^8}{a+b x^3+c x^6} \, dx=-\frac {\left (b^2-2 a c\right ) \text {arctanh}\left (\frac {b+2 c x^3}{\sqrt {b^2-4 a c}}\right )}{3 c^2 \sqrt {b^2-4 a c}}-\frac {b \log \left (a+b x^3+c x^6\right )}{6 c^2}+\frac {x^3}{3 c} \]
[In]
[Out]
Rule 212
Rule 632
Rule 642
Rule 648
Rule 717
Rule 1371
Rubi steps \begin{align*} \text {integral}& = \frac {1}{3} \text {Subst}\left (\int \frac {x^2}{a+b x+c x^2} \, dx,x,x^3\right ) \\ & = \frac {x^3}{3 c}+\frac {\text {Subst}\left (\int \frac {-a-b x}{a+b x+c x^2} \, dx,x,x^3\right )}{3 c} \\ & = \frac {x^3}{3 c}-\frac {b \text {Subst}\left (\int \frac {b+2 c x}{a+b x+c x^2} \, dx,x,x^3\right )}{6 c^2}+\frac {\left (b^2-2 a c\right ) \text {Subst}\left (\int \frac {1}{a+b x+c x^2} \, dx,x,x^3\right )}{6 c^2} \\ & = \frac {x^3}{3 c}-\frac {b \log \left (a+b x^3+c x^6\right )}{6 c^2}-\frac {\left (b^2-2 a c\right ) \text {Subst}\left (\int \frac {1}{b^2-4 a c-x^2} \, dx,x,b+2 c x^3\right )}{3 c^2} \\ & = \frac {x^3}{3 c}-\frac {\left (b^2-2 a c\right ) \tanh ^{-1}\left (\frac {b+2 c x^3}{\sqrt {b^2-4 a c}}\right )}{3 c^2 \sqrt {b^2-4 a c}}-\frac {b \log \left (a+b x^3+c x^6\right )}{6 c^2} \\ \end{align*}
Time = 0.04 (sec) , antiderivative size = 78, normalized size of antiderivative = 0.96 \[ \int \frac {x^8}{a+b x^3+c x^6} \, dx=\frac {2 c x^3+\frac {2 \left (b^2-2 a c\right ) \arctan \left (\frac {b+2 c x^3}{\sqrt {-b^2+4 a c}}\right )}{\sqrt {-b^2+4 a c}}-b \log \left (a+b x^3+c x^6\right )}{6 c^2} \]
[In]
[Out]
Time = 0.10 (sec) , antiderivative size = 83, normalized size of antiderivative = 1.02
method | result | size |
default | \(\frac {x^{3}}{3 c}+\frac {-\frac {b \ln \left (c \,x^{6}+b \,x^{3}+a \right )}{2 c}+\frac {2 \left (-a +\frac {b^{2}}{2 c}\right ) \arctan \left (\frac {2 c \,x^{3}+b}{\sqrt {4 a c -b^{2}}}\right )}{\sqrt {4 a c -b^{2}}}}{3 c}\) | \(83\) |
risch | \(\frac {x^{3}}{3 c}-\frac {2 \ln \left (\left (-8 a^{2} c^{2}+6 a \,b^{2} c -b^{4}+\sqrt {-\left (4 a c -b^{2}\right ) \left (2 a c -b^{2}\right )^{2}}\, b \right ) x^{3}+2 \sqrt {-\left (4 a c -b^{2}\right ) \left (2 a c -b^{2}\right )^{2}}\, a \right ) a b}{3 c \left (4 a c -b^{2}\right )}+\frac {\ln \left (\left (-8 a^{2} c^{2}+6 a \,b^{2} c -b^{4}+\sqrt {-\left (4 a c -b^{2}\right ) \left (2 a c -b^{2}\right )^{2}}\, b \right ) x^{3}+2 \sqrt {-\left (4 a c -b^{2}\right ) \left (2 a c -b^{2}\right )^{2}}\, a \right ) b^{3}}{6 c^{2} \left (4 a c -b^{2}\right )}+\frac {\ln \left (\left (-8 a^{2} c^{2}+6 a \,b^{2} c -b^{4}+\sqrt {-\left (4 a c -b^{2}\right ) \left (2 a c -b^{2}\right )^{2}}\, b \right ) x^{3}+2 \sqrt {-\left (4 a c -b^{2}\right ) \left (2 a c -b^{2}\right )^{2}}\, a \right ) \sqrt {-\left (4 a c -b^{2}\right ) \left (2 a c -b^{2}\right )^{2}}}{6 c^{2} \left (4 a c -b^{2}\right )}-\frac {2 \ln \left (\left (-8 a^{2} c^{2}+6 a \,b^{2} c -b^{4}-\sqrt {-\left (4 a c -b^{2}\right ) \left (2 a c -b^{2}\right )^{2}}\, b \right ) x^{3}-2 \sqrt {-\left (4 a c -b^{2}\right ) \left (2 a c -b^{2}\right )^{2}}\, a \right ) a b}{3 c \left (4 a c -b^{2}\right )}+\frac {\ln \left (\left (-8 a^{2} c^{2}+6 a \,b^{2} c -b^{4}-\sqrt {-\left (4 a c -b^{2}\right ) \left (2 a c -b^{2}\right )^{2}}\, b \right ) x^{3}-2 \sqrt {-\left (4 a c -b^{2}\right ) \left (2 a c -b^{2}\right )^{2}}\, a \right ) b^{3}}{6 c^{2} \left (4 a c -b^{2}\right )}-\frac {\ln \left (\left (-8 a^{2} c^{2}+6 a \,b^{2} c -b^{4}-\sqrt {-\left (4 a c -b^{2}\right ) \left (2 a c -b^{2}\right )^{2}}\, b \right ) x^{3}-2 \sqrt {-\left (4 a c -b^{2}\right ) \left (2 a c -b^{2}\right )^{2}}\, a \right ) \sqrt {-\left (4 a c -b^{2}\right ) \left (2 a c -b^{2}\right )^{2}}}{6 c^{2} \left (4 a c -b^{2}\right )}\) | \(681\) |
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 254, normalized size of antiderivative = 3.14 \[ \int \frac {x^8}{a+b x^3+c x^6} \, dx=\left [\frac {2 \, {\left (b^{2} c - 4 \, a c^{2}\right )} x^{3} - {\left (b^{2} - 2 \, a c\right )} \sqrt {b^{2} - 4 \, a c} \log \left (\frac {2 \, c^{2} x^{6} + 2 \, b c x^{3} + b^{2} - 2 \, a c + {\left (2 \, c x^{3} + b\right )} \sqrt {b^{2} - 4 \, a c}}{c x^{6} + b x^{3} + a}\right ) - {\left (b^{3} - 4 \, a b c\right )} \log \left (c x^{6} + b x^{3} + a\right )}{6 \, {\left (b^{2} c^{2} - 4 \, a c^{3}\right )}}, \frac {2 \, {\left (b^{2} c - 4 \, a c^{2}\right )} x^{3} - 2 \, {\left (b^{2} - 2 \, a c\right )} \sqrt {-b^{2} + 4 \, a c} \arctan \left (-\frac {{\left (2 \, c x^{3} + b\right )} \sqrt {-b^{2} + 4 \, a c}}{b^{2} - 4 \, a c}\right ) - {\left (b^{3} - 4 \, a b c\right )} \log \left (c x^{6} + b x^{3} + a\right )}{6 \, {\left (b^{2} c^{2} - 4 \, a c^{3}\right )}}\right ] \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 316 vs. \(2 (75) = 150\).
Time = 1.72 (sec) , antiderivative size = 316, normalized size of antiderivative = 3.90 \[ \int \frac {x^8}{a+b x^3+c x^6} \, dx=\left (- \frac {b}{6 c^{2}} - \frac {\sqrt {- 4 a c + b^{2}} \cdot \left (2 a c - b^{2}\right )}{6 c^{2} \cdot \left (4 a c - b^{2}\right )}\right ) \log {\left (x^{3} + \frac {- a b - 12 a c^{2} \left (- \frac {b}{6 c^{2}} - \frac {\sqrt {- 4 a c + b^{2}} \cdot \left (2 a c - b^{2}\right )}{6 c^{2} \cdot \left (4 a c - b^{2}\right )}\right ) + 3 b^{2} c \left (- \frac {b}{6 c^{2}} - \frac {\sqrt {- 4 a c + b^{2}} \cdot \left (2 a c - b^{2}\right )}{6 c^{2} \cdot \left (4 a c - b^{2}\right )}\right )}{2 a c - b^{2}} \right )} + \left (- \frac {b}{6 c^{2}} + \frac {\sqrt {- 4 a c + b^{2}} \cdot \left (2 a c - b^{2}\right )}{6 c^{2} \cdot \left (4 a c - b^{2}\right )}\right ) \log {\left (x^{3} + \frac {- a b - 12 a c^{2} \left (- \frac {b}{6 c^{2}} + \frac {\sqrt {- 4 a c + b^{2}} \cdot \left (2 a c - b^{2}\right )}{6 c^{2} \cdot \left (4 a c - b^{2}\right )}\right ) + 3 b^{2} c \left (- \frac {b}{6 c^{2}} + \frac {\sqrt {- 4 a c + b^{2}} \cdot \left (2 a c - b^{2}\right )}{6 c^{2} \cdot \left (4 a c - b^{2}\right )}\right )}{2 a c - b^{2}} \right )} + \frac {x^{3}}{3 c} \]
[In]
[Out]
Exception generated. \[ \int \frac {x^8}{a+b x^3+c x^6} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
none
Time = 0.40 (sec) , antiderivative size = 75, normalized size of antiderivative = 0.93 \[ \int \frac {x^8}{a+b x^3+c x^6} \, dx=\frac {x^{3}}{3 \, c} - \frac {b \log \left (c x^{6} + b x^{3} + a\right )}{6 \, c^{2}} + \frac {{\left (b^{2} - 2 \, a c\right )} \arctan \left (\frac {2 \, c x^{3} + b}{\sqrt {-b^{2} + 4 \, a c}}\right )}{3 \, \sqrt {-b^{2} + 4 \, a c} c^{2}} \]
[In]
[Out]
Time = 8.89 (sec) , antiderivative size = 1758, normalized size of antiderivative = 21.70 \[ \int \frac {x^8}{a+b x^3+c x^6} \, dx=\text {Too large to display} \]
[In]
[Out]